<template>
	<div>	
		<div style="width:100%;height:5px;background-color:#F8F8F8"></div>    
	    <div class="a">
	    	<div class="b">
	    		<div class="b_1">
	    			<div>
	    				<span class="d_1">{{toFix2(detailInfo.comPrice)}}</span>
	    				<span class="d_2">元</span>
	    			</div>
	    			<div class="d_3"><van-icon name="arrow" /></div>
	    		</div>
	    		<div class="b_2" v-if="isBuyer">
	    			<span>钱款已打入卖家账号</span>		    			
	    			<van-icon name="question" />
	    		</div>
	    		
	    		<div class="b_2" v-if="isSeller">
	    			<span>钱款已打入您的账号1123446</span>		    			
	    		</div>	    		
	    		<div class="b_3" v-if="isBuyer&&detailInfo.dordersState==4">
	    			<span style="font-weight: bold;">
	    				<span class="b_4">{{evaluateTime.d}}</span>天<span class="b_4">{{evaluateTime.h}}</span>时<span class="b_4">{{evaluateTime.m}}</span>后，卖家仍未评价，评价将关闭
	    			</span>	    			
	    		</div>
	    		<div class="b_3" v-if="isSeller&&detailInfo.dordersState==4">
	    			<span style="font-weight: bold;">
	    				<span class="b_4">{{evaluateTime.d}}</span>天<span class="b_4">{{evaluateTime.h}}</span>时<span class="b_4">{{evaluateTime.m}}</span>后，买家仍未评价，评价将关闭
	    			</span>	    			
	    		</div>		    		
	    	</div>	
	    </div>	
	</div>	
</template>

<script>
import {getFun} from '@/api/publicFun.js'	 
let publicFun=getFun()	
export default {	
	data() {
       return {
    
       }
	},
	props:['detailInfo','evaluateTime','isBuyer','isSeller'],
	methods: {	

	},
	mixins:[publicFun],//混入		
	mounted() {
	}
}	
</script>

<style scoped="" lang="scss">
.b{display: flex;justify-content: center;padding: 20px 0;
align-items: center;flex-direction: column;}
.b_1{display: flex;margin-bottom: 10px;}
.a{padding: 10px 10px 10px;}
.c_1{color: #aaa;}
.c_2{margin-top: 10px;}
.d_1{font-size: 36px;color: #f4685d;}
.d_2{color: #f4685d;}
.d_3{margin-left: 10px;color: #999;font-size: 14px;display: flex;align-items: center;}
.b_2{color: #ccc;margin-bottom: 10px;}
.b_4{color: $common-font2;}
.b_3{width: 80%;text-align: center;line-height: 1.6;}
</style>